package org.maylove.wuziqi.common;

import org.springframework.context.ApplicationEvent;

public class CustomEvent extends ApplicationEvent {
    private EventMessage<Object> eventMessage;

    public CustomEvent(Object source, EventMessage<Object> eventMessage) {
        super(source);
        this.eventMessage = eventMessage;
    }

    public EventMessage<Object> getEventMessage() {
        return eventMessage;
    }

}
